=====================================================================
  HYDRANT JET FIX 1.0
  for GTA San Andreas (PC, version 1.0 US)
  Author: Aaron PV
=====================================================================

WHAT IT DOES
------------
In the original game, a broken fire hydrant's water jet shoots straight
through any car parked on top of it. This mod fixes that and makes the
water react to the car:

 - The jet stops at the car instead of going through it.
 - Water sprays out sideways in a ring under the car, with ripples on the
   ground.
 - The water pushes up the part of the car it hits. A jet under the front
   right wheel lifts that corner; a jet under the middle lifts the car evenly.
 - While the car covers the jet you hear the water muffled underneath it.
 - When the car drives off, the jet comes back, sound included.

Everything else about hydrants (when they break, where, the sound) is the
game's own behaviour.


REQUIREMENTS
------------
 - GTA San Andreas PC, version 1.0 US
 - CLEO 4.1 or newer (tested with CLEO 5.5.1)


HOW TO INSTALL
--------------
1. Check your game version.
   This mod needs GTA San Andreas PC version 1.0 US, the version most PC
   mods are made for. If you are not sure which you have, install it anyway:
   on another version it does nothing and shows a short message. It will not
   break your game.

2. Install CLEO (skip this if you already have it).
   CLEO is the library that runs .cs scripts. Download CLEO 4.1 or newer
   (CLEO 5 recommended) from the official site, cleo.li, and install it
   following its own instructions. When it is installed you will have a
   file called CLEO.asi and a folder called "cleo" in your game folder.

3. Copy the mod file.
   Open the "cleo" folder in this download, copy "HydrantJetFix.cs", and
   paste it into the "cleo" folder inside your GTA San Andreas game folder
   (the folder that contains gta_sa.exe).

   Example:  C:\Games\GTA San Andreas\cleo\HydrantJetFix.cs

4. Start the game and break a fire hydrant with a car. Then park a car on
   the water jet to see the effect.

That is all. There are no keys and nothing to configure.

If the mod does not work, look for "HydrantJetFix.log" in your game folder.
It explains why (for example a different game version, or another mod that
changes hydrants).


HOW TO UNINSTALL
----------------
Delete "HydrantJetFix.cs" from your game's "cleo" folder. The mod changes
nothing on disk, so nothing else needs undoing. You can also delete
"HydrantJetFix.log" if it exists.


COMPATIBILITY AND LIMITS
------------------------
 - Works only on the 1.0 US executable. On other versions it does nothing
   and shows a short message.
 - It cannot run alongside another mod that also changes the hydrant jet
   function (address 0x4A0D70). If it finds one, it does nothing and shows
   a short message.
 - The "jet is under the car" test uses an average car size. On very long
   or very wide vehicles (buses, trucks) the jet may still go through near
   the ends.
 - Up to 3 jets are handled at once; jets more than 50 m from the player
   are not drawn.
 - If something goes wrong, the reason is written to "HydrantJetFix.log"
   in your game folder.


SETTINGS
--------
The source file ("source\HydrantJetFix.txt") lists all settings at the
top: jet duration, push strength, car size, the under-car sound and more. Edit the numbers and
recompile with Sanny Builder (SA mode).


CHANGELOG
---------
1.0  First release.


CREDITS
-------
 - WildSheep: script
 - Rockstar Games: GTA San Andreas
 - CLEO team and Sanny Builder team: tools

You may use and edit this mod for personal use. Please don't reupload it
elsewhere without asking.
